﻿using Minotaur.App.Modules.SystemSet.ViewModels;
using System.Windows.Controls;

namespace Minotaur.App.Modules.SystemSet.Views
{
    /// <summary>
    /// Interaction logic for SystemLog
    /// </summary>
    public partial class SystemLog : UserControl
    {
        public SystemLog()
        {
            InitializeComponent();
        }

        private void SystemLog_Loaded(object sender, System.Windows.RoutedEventArgs e)
        {
            SystemLogViewModel viewModel=this.DataContext as SystemLogViewModel;
            viewModel.FormDependencyObject = this.FormDockPanel;
            viewModel.Dispatcher = this.Dispatcher;
            viewModel.ListPagination = this.pagination;
            viewModel.InitData();
        }
    }
}
